package com.drg.center.entity.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Set;

/**
 * @Author: zhangxilin
 * @Date: 2024/5/21
 */

@Data
@ApiModel("添加角色入参DTO")
public class SysRoleAddDTO implements Serializable {

    @ApiModelProperty("角色名称")
    @NotBlank(message = "角色名称不能为空")
    private String roleName;

    @ApiModelProperty("角色描述")
    private String description;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("角色ID集合")
    private Set<Long> resIdList;
}
